package com.gc.business.mapper;

import com.gc.business.domain.IntegralDetail;
import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * 积分明细 数据层
 * 
 * @author liujinteng
 * @date 2021-01-04
 */
public interface IntegralDetailMapper extends BaseMapper<IntegralDetail> {

    /**
     * 查询指定月份下的积分
     * @param yearMonth
     * @param userId
     * @return
     */
    public Integer selectScoreByMonth(@Param("yearMonth") String yearMonth,@Param("userId") Long userId);
}